home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc / OpenDoc Development / Build Support / SCPCHeaders++.pch < prev    next >
Encoding:
Text File  |  1996-02-19  |  2.9 KB  |  160 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        SCPCHeaders++.pch
  3.  
  4.     Contains:    OpenDocâ„¢ sample code pre-compiled header
  5.  
  6.     Written by:    Steve Smith
  7.     
  8.     Copyright:    Â© 1994,95 by Apple Computer, Inc., all rights reserved.
  9. */
  10.  
  11. // -- Compiler/Preprocessor Switches --
  12.  
  13. // Just before you are ready to ship, uncomment the line below.
  14. // Doing so will remove all the SampleCode_SamplePartMethodDebug()
  15. // lines from the generated code.
  16. // Note: The _RETAIL switch can be found in somcdev.h
  17. //#define _RETAIL
  18.  
  19. // ODDebug must be defined because we are using Except.cpp & ODDebug.cpp.
  20. #ifdef _RETAIL
  21.     // turn off debugging
  22.     #ifndef ODDebug
  23.     #define ODDebug 0
  24.     #endif
  25. #else
  26.     // turn on debugging and traceback symbol generation (PPC only)
  27.     #ifndef ODDebug
  28.     #define ODDebug 1
  29.     #pragma traceback on
  30.     #endif
  31. #endif
  32.  
  33. // We should no longer be using the "old" routine names/structs.
  34. #ifndef OLDROUTINENAMES
  35. #define OLDROUTINENAMES 0
  36. #endif
  37. #ifndef OLDROUTINELOCATIONS
  38. #define OLDROUTINELOCATIONS 0
  39. #endif
  40.     
  41. // Some public headers #ifdef out structs not useful to other platforms.
  42. #ifndef _PLATFORM_MACINTOSH_
  43. #define _PLATFORM_MACINTOSH_ 1
  44. #endif
  45.  
  46. // If you use the STDTypIO utility, you must define the platforms
  47. // endian-ness.
  48. #ifndef _PLATFORM_BIG_ENDIAN_
  49. #define _PLATFORM_BIG_ENDIAN_ 1
  50. #endif
  51.  
  52. // There is an apparent bug in the ConditionalMacros.h v2.1 header. This
  53. // prevents the Symantec 8.0 C++ compiler from exporting symbols. To work
  54. // around the problem, we define PRAGMA_IMPORT_SUPPORTED.
  55. #if defined(__SC__)
  56. #define PRAGMA_IMPORT_SUPPORTED 1
  57. #endif
  58.  
  59. // -- OpenDoc Public Utilites --
  60. // (must be included before ODTypes.h)
  61.  
  62. #ifndef _ALTPOINT_
  63. #include "AltPoint.h"
  64. #endif
  65.  
  66. #ifndef _ALTPOLY_
  67. #include "AltPoly.h"
  68. #endif
  69.  
  70. // -- OpenDoc Utilities --
  71.  
  72. #ifndef _EXCEPT_
  73. #include "Except.h"
  74. #endif
  75.  
  76. // -- OpenDoc Includes --
  77.  
  78. #ifndef _QDFIXM_
  79. #include "QDFixM.h"
  80. #endif
  81.  
  82. #ifndef _ODTYPES_
  83. #include <ODTypes.h>
  84. #endif
  85.  
  86. #ifndef SOM_ODPart_xh
  87. #include <Part.xh>
  88. #endif
  89.  
  90. #ifndef SOM_ODFacet_xh
  91. #include <Facet.xh>
  92. #endif
  93.  
  94. #ifndef SOM_ODFrame_xh
  95. #include <Frame.xh>
  96. #endif
  97.  
  98. #ifndef SOM_ODShape_xh
  99. #include <Shape.xh>
  100. #endif
  101.  
  102. #ifndef SOM_Module_OpenDoc_StdProps_defined
  103. #include <StdProps.xh>
  104. #endif
  105.  
  106. #ifndef SOM_Module_OpenDoc_StdTypes_defined
  107. #include <StdTypes.xh>
  108. #endif
  109.  
  110. #ifndef SOM_Module_OpenDoc_StdDefs_defined
  111. #include <StdDefs.xh>
  112. #endif
  113.  
  114. #ifndef SOM_ODDraft_xh
  115. #include <Draft.xh>
  116. #endif
  117.  
  118. #ifndef SOM_ODStorageUnit_xh
  119. #include <StorageU.xh>
  120. #endif
  121.  
  122. #ifndef SOM_ODTransform_xh
  123. #include <Trnsform.xh>
  124. #endif
  125.  
  126. #ifndef SOM_ODFocusSet_xh
  127. #include <FocusSet.xh>
  128. #endif
  129.  
  130. #ifndef SOM_ODMenuBar_xh
  131. #include <MenuBar.xh>
  132. #endif
  133.  
  134. #ifndef SOM_ODWindow_xh
  135. #include <Window.xh>
  136. #endif
  137.  
  138. #ifndef SOM_ODSession_xh
  139. #include <ODSessn.xh>
  140. #endif
  141.  
  142. // -- OpenDoc Utilities (cont.)
  143.  
  144. #ifndef _ODMEMORY_
  145. #include <ODMemory.h>
  146. #endif
  147.  
  148. // -- Toolbox Includes --
  149.  
  150. #include <Dialogs.h>
  151. #include <Errors.h>
  152. #include <Icons.h>
  153. #include <LowMem.h>
  154. #include <Menus.h>
  155. #include <Quickdraw.h>
  156. #include <Resources.h>
  157. #include <ToolUtils.h>
  158. #include <Types.h>
  159. #include <Windows.h>
  160.